package com.zjjk.transfer.source.service;

import com.zjjk.transfer.source.entity.SourceDataDictionary;
import com.zjjk.transfer.source.param.SourceDataDictionaryPageParam;
import io.geekidea.springbootplus.framework.common.service.BaseService;
import io.geekidea.springbootplus.framework.core.pagination.Paging;

/**
 * 数据字典 服务类
 *
 * @author xuziyang
 * @since 2021-03-26
 */
public interface SourceDataDictionaryService extends BaseService<SourceDataDictionary> {

    /**
     * 保存
     *
     * @param sourceDataDictionary
     * @return
     * @throws Exception
     */
    boolean saveSourceDataDictionary(SourceDataDictionary sourceDataDictionary) throws Exception;

    /**
     * 修改
     *
     * @param sourceDataDictionary
     * @return
     * @throws Exception
     */
    boolean updateSourceDataDictionary(SourceDataDictionary sourceDataDictionary) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteSourceDataDictionary(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param sourceDataDictionaryQueryParam
     * @return
     * @throws Exception
     */
    Paging<SourceDataDictionary> getSourceDataDictionaryPageList(SourceDataDictionaryPageParam sourceDataDictionaryPageParam) throws Exception;

}
